The components ' internal behaviors were modeled based on design pattern theory , and the motion control component , the kernel of the controller , was modeled by command processor pattern and interpreter pattern .
采用设计模式理论对系统功能组件进行行为建模,并用命令处理器模式和解释器模式建立了运动控制功能组件的行为模型。